import request from '@/utils/request'

// api地址
const api = {
  list: 'staff/list',
  detail: 'staff/detail'
}

// 员工列表
export const list = param => {
  return request.get(api.list, param)
}

// 员工详情
export const detail = staffId => {
  return request.get(api.detail, { staffId })
}
